#pragma once
#include <Timer.hpp>
#include <so_math.h>
class IAlivetimer
{
private:
    Timer timer;
    real aliveTime;
public:
    IAlivetimer(real aliveTime=0);
    ~IAlivetimer() = default;

    void setAliveTime(real val);
    real getAliveTime();
    bool elapsed();
};